#ifndef EXAM_FOO_H
#define EXAM_FOO_H

struct Foo
{
    Foo() : i(0xfe)
    {

    }

    Foo(int i) : i(i)
    {

    }

    int getValue() const
    {
        return i;
    }

    void next()
    {
        i++;
    }

private:
    int i;
};

Foo* getRandPtr();

Foo& getFo();
Foo& getFo1();

#endif //EXAM_FOO_H
